<template>
   <div>
      <router-link to="/container" active-class="active">布局</router-link>
      <router-link to="/table" active-class="active">表格</router-link>
      <router-link to="/form" active-class="active">表单</router-link>
      <router-link to="/js" active-class="active">js反馈</router-link>
      <router-link to="/other" active-class="active">常见效果</router-link>
      <router-view></router-view>
   </div>
</template>

<script>
export default {

}
</script>

<style scoped>
  a{
    display: inline-block;
    margin: 10px;
    padding: 10px;
    background: navajowhite;
    color:#000
  }
  .active{
    background: teal;
    color:#fff
  }
</style>